package com.tb.mapper;

import com.tb.pojo.ImgDesc;
import com.tb.pojo.ImgDescExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ImgDescMapper {
    long countByExample(ImgDescExample example);

    int deleteByExample(ImgDescExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ImgDesc record);

    int insertSelective(ImgDesc record);

    List<ImgDesc> selectByExample(ImgDescExample example);

    ImgDesc selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ImgDesc record, @Param("example") ImgDescExample example);

    int updateByExample(@Param("record") ImgDesc record, @Param("example") ImgDescExample example);

    int updateByPrimaryKeySelective(ImgDesc record);

    int updateByPrimaryKey(ImgDesc record);
}